home *** CD-ROM | disk | FTP | other *** search
- #! /bin/sh -e
-
- # tale 930125
- # incestuous, isn't it?
-
- kits=../kits
- out=$1.tar
- dir=$2
- shift; shift;
-
- if [ -d $out.Z-split ]; then
- echo remove old compressed and split version
- rm -r $out.Z-split
- fi
-
- if [ -f $out.Z ]; then
- echo remove old compressed version
- rm $out.Z;
- fi
-
- echo make tar file
- (cd $dir; tar cf $kits/$out $*)
- echo compress tar file
- compress $out
- echo possibly split tar file
- ksplit $out.Z
-